package com.data.biz.service;

import com.data.biz.constant.AccTableResult;
import com.data.biz.domain.BizFan;
import com.data.biz.domain.Function;
import com.data.biz.domain.FunctionModel;
import com.data.biz.domain.WindPoint;
import com.data.biz.vo.SensorVo.acc.AccGraphGroupVo;
import com.data.biz.vo.SensorVo.common.FanGeneralDataVo;
import com.data.biz.vo.SensorVo.dip.GraphGroupVo;
import com.data.biz.vo.SensorVo.point.WindPointVo;

import java.util.List;

public interface IBizSensorCommonService {


    FanGeneralDataVo getFanGeneralData(Integer fanId);

    String editWindPoint(WindPointVo pointVo);

    List<BizFan> getFanlist(BizFan fan);

    List<WindPointVo> getWindPointlist(WindPoint point);

    int deletePointByIds(String ids) throws Exception;
    int deleteFanByIds(String ids) throws Exception;



    int insertPoint(WindPoint point) throws Exception;

    int insertFan(BizFan fan) throws Exception;


    WindPoint selectPointById(Integer id);

    BizFan selectFanById(Integer id);

    int updatePoint(WindPoint po);

    int updateFan(BizFan fan);

    String checkPointNameUnique(WindPoint point);
    String checkFanNameUnique(BizFan fan);


    List<Function> selectFunctionList(Integer fanId);

    List<WindPoint> selectPointList(Integer plantId,Integer functionId,String name);
}
